package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomhouse.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author hans.zhang
 */
@Data
public class MasterRoomInfo {
    @Schema(description = "主房源ID")
    private String mainRoomHouseId;
    @Schema(description = "是否整租")
    private Boolean isWhole;
    @Schema(description = "房源ID")
    private String roomHouseId;
    @Schema(description = "房源编号")
    private String no;
    @Schema(description = "栋")
    @NotNull(message = "栋不能为空")
    private String buildingNo;
    @Schema(description = "单元")
    @NotNull(message = "单元不能为空")
    private String unitNo;
    @Schema(description = "门牌号")
    @NotNull(message = "室号不能为空")
    private String houseNo;
    @Schema(description = "房型")
    private String layoutName;
    @Schema(description = "房型id")
    private Long layoutId;
    @Schema(description = "月租金")
    private Double monthRental;
    @Schema(description = "房屋户型-室")
    private Integer bedRoomNum;
    @Schema(description = "房屋户型-厅")
    private Integer livingRoomNum;
    @Schema(description = "房屋户型-卫")
    private Integer toiletNum;
    @Schema(description = "房屋户型-厨")
    private Integer kitchenNum;
    @Schema(description = "房屋户型-阳台")
    private Integer balcony;
    @Schema(description = "面积最小值")
    private String spaceMin;
    @Schema(description = "面积最大值")
    private String spaceMax;
    @Schema(description = "面积")
    private Double space;
    @Schema(description = "楼层数")
    @NotNull(message = "楼层数不能为空")
    private Integer floorNum;
    @Schema(description = "地上楼层数")
    private Integer groundFloorNum;
    @Schema(description = "所在楼层")
    @NotNull(message = "所在楼层楼不能为空")
    private String inFloorNum;
    @Schema(description = "朝向,字典中获取，直接存储description")
    @NotNull(message = "朝向不能为空")
    private String toward;
    @Schema(description = "可住人数")
    private Integer peopleNum;
    @Schema(description = "房间数")
    private Integer floorRoomNum;
    @Schema(description = "房源创建人的名字")
    private String createUserName;
    @Schema(description = "是否锁定")
    private Boolean isLock;
    @Schema(description = "房间状态")
    private String homeState;
    @Schema(description = "核验码")
    private String checkCode;

    @Schema(description = "集中式房源核验码")
    private String concentratedCheckCode;
    @Schema(description = "集中式房源外部ID")
    private Long concentratedExternalHouseId;

    @Schema(description = "面积")
    private Double proportion;
}
